package com.haierp.model.automatic;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.haierp.model.activity.ActivityDetail;

/**
 *
 * 
 *
 */
@TableName("automatic_order")
public class AutomaticOrder implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 主单号 */
	@TableField(value = "auto_no")
	private String autoNo;

	/** 任务标题 */
	@TableField(value = "task_title")
	private String taskTitle;

	/** 账号 */
	@TableField(value = "account_umber")
	private String accountUmber;

	/** 订单号 */
	@TableField(value = "order_number")
	private String orderNumber;

	/** 错误提示 */
	@TableField(value = "error_prompt")
	private String errorPrompt;

	/**  */
	private Integer status;

	/** 第三方状态 */
	@TableField(value = "third_status")
	private String thirdStatus;

	/** 创建时间 */
	@TableField(value = "gmt_create")
	private Date gmtCreate;

	/** 修改时间 */
	@TableField(value = "gmt_modify")
	private Date gmtModify;

	/** 详情单号 */
	@TableField(exist = false)
	private Long detailId;

	/** 详情单号 */
	@TableField(exist = false)
	private String autoDetialNo;

	/** 标题详情 */
	@TableField(exist = false)
	private String detailTitle;

	/** 商品链接 */
	@TableField(exist = false)
	private String itemUrl;

	/** 商品图片 */
	@TableField(exist = false)
	private String orderPic;

	/** 数量 */
	@TableField(exist = false)
	private Integer quantity;

	@TableField(exist = false)
	private List<AutomaticOrderDetail> AutomaticOrderDetail; //活动明细
	
	@TableField(exist = false)
	private String AutomaticOrderDetailList;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAutoNo() {
		return autoNo;
	}

	public void setAutoNo(String autoNo) {
		this.autoNo = autoNo;
	}

	public String getTaskTitle() {
		return this.taskTitle;
	}

	public void setTaskTitle(String taskTitle) {
		this.taskTitle = taskTitle;
	}

	public String getAccountUmber() {
		return this.accountUmber;
	}

	public void setAccountUmber(String accountUmber) {
		this.accountUmber = accountUmber;
	}

	public String getOrderNumber() {
		return this.orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getErrorPrompt() {
		return this.errorPrompt;
	}

	public void setErrorPrompt(String errorPrompt) {
		this.errorPrompt = errorPrompt;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getThirdStatus() {
		return this.thirdStatus;
	}

	public void setThirdStatus(String thirdStatus) {
		this.thirdStatus = thirdStatus;
	}

	public Date getGmtCreate() {
		return this.gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return this.gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	public Long getDetailId() {
		return detailId;
	}

	public void setDetailId(Long detailId) {
		this.detailId = detailId;
	}

	public String getAutoDetialNo() {
		return autoDetialNo;
	}

	public void setAutoDetialNo(String autoDetialNo) {
		this.autoDetialNo = autoDetialNo;
	}

	public String getDetailTitle() {
		return detailTitle;
	}

	public void setDetailTitle(String detailTitle) {
		this.detailTitle = detailTitle;
	}

	public String getItemUrl() {
		return itemUrl;
	}

	public void setItemUrl(String itemUrl) {
		this.itemUrl = itemUrl;
	}

	public String getOrderPic() {
		return orderPic;
	}

	public void setOrderPic(String orderPic) {
		this.orderPic = orderPic;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public List<AutomaticOrderDetail> getAutomaticOrderDetail() {
		return AutomaticOrderDetail;
	}

	public void setAutomaticOrderDetail(List<AutomaticOrderDetail> automaticOrderDetail) {
		AutomaticOrderDetail = automaticOrderDetail;
	}

	public String getAutomaticOrderDetailList() {
		return AutomaticOrderDetailList;
	}

	public void setAutomaticOrderDetailList(String automaticOrderDetailList) {
		AutomaticOrderDetailList = automaticOrderDetailList;
	}

}
